package com.fa.wisdom.utils;

import com.fa.wisdom.common.App;
import com.sdsmdg.tastytoast.TastyToast;

public class ToastUtils {
    public static void showInfo(String msg) {
        TastyToast.makeText(App.getContext(), msg, TastyToast.LENGTH_SHORT, TastyToast.INFO);
    }
    public static void showSuccess(String msg) {
        TastyToast.makeText(App.getContext(), msg, TastyToast.LENGTH_SHORT, TastyToast.SUCCESS);
    }
    public static void showError(String msg) {
        TastyToast.makeText(App.getContext(), msg, TastyToast.LENGTH_SHORT, TastyToast.ERROR);
    }
}
